<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl">
<base href="<?php echo $this->baseURL; ?>/"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>biblioteczka</title>
<style type="text/css">
	@IMPORT url("css/style.css");
</style>
</head>
<div id="top">
        Książki należy czytać często!
    </div>
        <?php
        	if (Zend_Auth::getInstance()->getIdentity() instanceof User) {
        		if( Zend_Auth::getInstance()->getIdentity()->rola == User::ROLE_USER) {
                	echo $this->partial('menuUser.phtml');
        		} elseif (Zend_Auth::getInstance()->getIdentity()->rola  == User::ROLE_ADMIN) {
                	echo $this->partial('menuAdmin.phtml');
        		}
        	} else {
                echo $this->partial('menu.phtml');
        	}




        ?>
    <div id="main">
        <div id="content">		